﻿@model IEnumerable<AspNetExpressInformationManageSystem.Models.ExpressAnalysis>

@{
    ViewBag.Title = "系统结算";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@Html.ActionLink("新建", "Create", null, new { @class = "btn btn-success" }) 系统结算</h2>

<div class="table-responsive">
    <table class="table">
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.Date)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.GoodsCash)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.VehicleOilCost)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.VehicleMaintenance)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Salary)
            </th>
            <th></th>
        </tr>

        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Date)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.GoodsCash)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.VehicleOilCost)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.VehicleMaintenance)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Salary)
                </td>
                <td>
                    @Html.ActionLink("编辑", "Edit", new { id = item.ID }) |
                    @Html.ActionLink("查看", "Details", new { id = item.ID }) |
                    @Html.ActionLink("删除", "Delete", new { id = item.ID })
                </td>
            </tr>
        }

    </table>
</div>
